<tagLib name="html" />
<include file="../Public/header" />
<div id="wrap"> <include file="../Public/top" />
  <div id="content">
    <div class="mainarea">
      <div class="maininner">
        <div class="bdrcontent">
          <form action="__URL__/insert" method="post" enctype="multipart/form-data" id="phpform" onsubmit="return $.formValidator.pageIsValid('1')">
            <input name="nid" value="{.nid}" type="hidden" />
            <table width="100%" cellpadding="0" cellspacing="0" class="formtable">
              <tr>
                <td width="100">调查标题：</td>
                <td><input name="title" type="text" size="40" id="title"   /></td>
              </tr>
              <tr>
                <td> </td>
                <td><input type="submit" value="提交" class="button" /></td>
              </tr>
            </table>
          </form>
        </div>
        <br />
      </div>
    </div>
    <include file="../Public/menu" /> </div>
  <include file="../Public/footer" /> </div>
</body></html><script type="text/javascript">
    $(document).ready(function()
    {
		$.formValidator.initConfig({autotip:true,onerror:function(msg){alert(msg)}});
		$("#title").formValidator({onshow:"请输入title",onfocus:"title至少要输入3个汉字",oncorrect:"恭喜你,你输对了"}).inputValidator({min:6,onerror:"你输入的title长度不正确,请确认"});
    });
</script>
